package cn.school.publicPhone.service;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface PhoneLoginService {
    /**
     * 人脸识别登录
     * @param imageBase64
     * @param request
     * @return
     */
    Map<String,Object> autoFaceLogin(String imageBase64, HttpServletRequest request);

    /**
     * 注册人脸到百度
     * @param paramMap
     * @return
     */
    String faceRegisterToBaidu(Map<String,String> paramMap);

    /**
     * 修改已经注册的人脸到百度
     * @param paramMap
     * @return
     */
    String updateFaceRegisterToBaidu(Map<String,String> paramMap);

    /**
     * 删除已经注册的人脸
     * @param paramMap
     * @return
     */
    String deleteFaceRegisterToBaidu(Map<String,String> paramMap);
}
